package com.example.ruijiproject;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动类
 */
@SpringBootApplication
@EnableTransactionManagement //开启事务
@ServletComponentScan //这个注解是扫描过滤器的
public class RuijiProjectApplication {
    public static void main(String[] args) {
        SpringApplication.run(RuijiProjectApplication.class, args);
        System.out.println("启动成功! ✌️");
    }

}
